package com.qf.fc.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 动态表(Mood)表实体类
 *
 * @author makejava
 * @since 2024-09-23 23:34:47
 */
@Data  //简化类自动生成Get和Set和toString
@TableName("t_mood")  //标记对应的表名
@NoArgsConstructor
public class Mood extends Model<Mood> {
    //序号，主键
    @TableId(type = IdType.AUTO)  //主键设置自增方式
    private Integer id;
    //用户id
    private Integer uid;
    //阅读数量
    private Integer read_num;
    //内容
    private String content;
    //图片1
    private String img1;
    //图片2
    private String img2;
    //图片3
    private String img3;
    //图片4
    private String img4;
    //图片5
    private String img5;
    //图片6
    private String img6;
    //地址
    private String address;
    //创建时间
    private String createTime;
    //状态：1.未审核，2.审核通过，3.审核拒绝，4.删除
    private String status;
    //话题id
    private Integer topicId;
    //动态类型：1.文本，2.图文
    private String type;


    }

